//
//  HMXXX.swift
//  GuoGuo
//
//  Created by 艾小新 on 16/8/5.
//  Copyright © 2016年 xiaoxin. All rights reserved.
//

import UIKit
let HMLogonViewChangeNotification = "HMLogonViewChangeNotification"

func RGB(r red:CGFloat, g: CGFloat, b: CGFloat) -> UIColor {
    
    
    return UIColor(red: red/255, green: g/255, blue: b/255, alpha: 1)
}
// 随机颜色
func RandomColor() -> UIColor {
    return RGB(r: CGFloat(arc4random()%256), g: CGFloat(arc4random()%256), b: CGFloat(arc4random()%256))
    
}

let SCREENW = UIScreen.mainScreen().bounds.width
let SCREENH = UIScreen.mainScreen().bounds.height

 